<?php

require_once( 'flexical/admin/request.php' );

abstract class Flexical_Admin_Query_Object_Request extends Flexical_Admin_Request
{
	public $query;

	public function __construct( $query = null )
	{
		$this->query = $query;
	}
}

class Flexical_Admin_Show_Queries_Request extends Flexical_Admin_Request
{
}

class Flexical_Admin_Create_Query_Request extends Flexical_Admin_Query_Object_Request
{
}

class Flexical_Admin_Edit_Query_Request extends Flexical_Admin_Query_Object_Request
{
}

class Flexical_Admin_Update_Query_Request extends Flexical_Admin_Query_Object_Request
{
	public $cancel_selected = false;
}

class Flexical_Admin_Confirm_Delete_Query_Request extends Flexical_Admin_Query_Object_Request
{
}

class Flexical_Admin_Delete_Query_Request extends Flexical_Admin_Query_Object_Request
{
	public $cancel_selected = false;
}

class Flexical_Admin_Delete_All_Queries_Request extends Flexical_Admin_Request
{
	public $confirmed = false;

	public function __construct( $confirmed = false )
	{
		$this->confirmed = $confirmed;
	}
}

?>